<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<link rel="icon" href="/static/img/logo.ico" type="image/x-icon" />
		<title>商场管理系统</title>
		<link href="/static/css/bootstrap.min.css" rel="stylesheet">
		<link href="/static/font-awesome/css/font-awesome.css" rel="stylesheet">
		<link href="/static/css/style.css" rel="stylesheet">
	</head>
	<body>
		<div id="wrapper">
			<nav class="navbar-default navbar-static-side" role="navigation">
				<div class="sidebar-collapse">
					<ul class="nav metismenu" id="side-menu">
						<li class="nav-header">
							<div class="dropdown profile-element">
								<a data-toggle="dropdown" class="dropdown-toggle" href="#">
									<span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">{{ user.name }}</strong>
										</span> <span>{{ user.post }} </span> </span> </a>
							</div>
							<div class="logo-element">
								IN+
							</div>
						</li>
						<li class="active">
							<a href="{{ url_for('home') }}"><i class="fa fa-th-large"></i> <span class="nav-label">商场概况</span></a>
						</li>
						<li>
							<a href="#"><i class="fa fa-diamond"></i> <span class="nav-label">商品管理</span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level">
								<li><a href="{{ url_for('shoopinfo') }}">商品详情</a></li>
								<li><a href="dashboard_2.html">商品库存</a></li>
								<li><a href="dashboard_3.html">商品品类</a></li>
							</ul>
						</li>
						<li>
							<a href="#"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">销售统计</span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level collapse">
								<li><a href="graph_flot.html">销售流水</a></li>
								<li><a href="graph_morris.html">销售排行</a></li>
								<li><a href="graph_rickshaw.html">日结管理</a></li>
							</ul>
						</li>
						<li>
							<a href="mailbox.html"><i class="fa fa-truck"></i> <span class="nav-label">采购中心 </span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level collapse">
								<li><a href="mailbox.html">入库记录</a></li>
								<li><a href="mail_detail.html">供应商信息</a></li>
								<li><a href="mail_compose.html">出库记录</a></li>
								<li><a href="email_template.html">采购退货单</a></li>
							</ul>
						</li>
						<li>
							<a href="#"><i class="fa fa-edit"></i> <span class="nav-label">促销管理</span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level collapse">
								<li><a href="form_basic.html">打折活动管理</a></li>
								<li><a href="form_advanced.html">满就送活动</a></li>
								<li><a href="form_wizard.html">v积分活动管理</a></li>
							</ul>
						</li>
						<li>
							<a href="#"><i class="fa fa-desktop"></i> <span class="nav-label">会员管理</span> <span class="fa arrow"></span></a>
							<ul class="nav nav-second-level collapse">
								<li><a href="contacts.html">会员卡资料</a></li>
								<li><a href="profile.html">消费详情</a></li>
								<li><a href="profile_2.html">积分管理</a></li>
							</ul>
						</li>
						<li>
							<a href="#"><i class="fa fa-users"></i> <span class="nav-label">人员管理</span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level collapse">
								<li><a href="{{ url_for('user') }}">员工信息</a></li>
								<li><a href="invoice.html">员工考核</a></li>
								<li><a href="login.html">工资管理</a></li>
							</ul>
						</li>
						<li>
							<a href="#"><i class="fa fa-tachometer"></i> <span class="nav-label">系统配置</span><span class="label label-info pull-right">新</span></a>
						</li>
					</ul>
				</div>
			</nav>

			<div id="page-wrapper" class="gray-bg dashbard-1">
				<div class="row border-bottom">
					<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
						<div class="navbar-header">
							<a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
						</div>
						<ul class="nav navbar-top-links navbar-right">
							<li>
								<span class="m-r-sm text-muted welcome-message">欢迎来到商场管理后台</span>
							</li>
							<li class="dropdown">
								<a href="{{ url_for('logout') }}">
									<i class="fa fa-sign-out"></i> 注销
								</a>
							</li>
						</ul>
					</nav>
				</div>
				<div class="row">
					<div class="col-lg-12">
                        {% block main %}{% endblock %}
					</div>
				</div>
					<div class="footer">
						<div class="pull-right">
							<strong>www.xiaoheng.net</strong>
						</div>
						<div>
							<strong>Copyright</strong>商场管理系统 &copy; 2017-2018
						</div>
					</div>
				</div>
		</div>
		<!-- Mainly scripts -->
		<script src="/static/js/jquery-3.1.1.min.js"></script>
		<script src="/static/js/plugins/metisMenu/jquery.metisMenu.js"></script>
		<script src="/static/js/inspinia.js"></script>
	</body>
</html>
